# -*- coding: utf-8 -*-
#菜单定位
class menuPage():
    def __init__(self,driver):
        self.driver = driver
    #综合查询
    def policyQuery(self):
        return self.driver.find_element_by_class_name("el-icon-search").find_element_by_class_name("el_span")

    ###########待处理任务###########
    def Task(self):
        return self.driver.find_element_by_xpath("//*[@id='app']/div/div[2]/div[1]/div/div/ul/li[1]/div/div/span")
    #纸质单录单
    def inNewPaper(self):
        return self.driver.find_element_by_xpath("//*[@id='app']/div/div[2]/div[1]/div/div/ul/li[1]/ul/li/ul/li[11]/div")
    #纸质单复核
    def newPaperConfirm(self):
        return self.driver.find_element_by_xpath("//*[@id='app']/div/div[2]/div[1]/div/div/ul/li[1]/ul/li/ul/li[12]/div")
